/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.shoppingsystem.view.validators;

/**
 *
 * @author vivancu
 */
import org.jdesktop.beansbinding.Validator;

public class ValidadorLogin extends Validator {

    @Override
    public Result validate(Object value) {
        if (String.valueOf(value).contains("0")) {
            return new Result(null, "El login no puede contener el simbolo '");
        }
        return null;
    }
}
